.TH std::match_results::max_size 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::match_results::max_size \- std::match_results::max_size

.SH Synopsis
   size_type max_size() const noexcept;  \fI(since C++11)\fP

   Returns the maximum number of submatches the match_results type is able to hold due
   to system or library implementation limitations, i.e. std::distance(begin(), end())
   for the largest number of submatches.

.SH Parameters

   \fI(none)\fP

.SH Return value

   Maximum number of submatches.

.SH Complexity

   Constant.
